import {
  Slider,
  Input, Switch
} from '@/components/CustomPage/fields/widget'

export function BasicOption(top) {
  return [
    { type: Input, option: { label: '组件标识', name: 'compName', required: true, disabled: true }},
    { type: Input, option: { label: '组件名称', name: 'label', required: true, disabled: true }},
    { type: Slider, option: { label: '上间距', name: 'top', value: 0, max: 300, step: 1 }}
    // { type: Slider, option: { label: '左右外边距', name: 'margins', value: 0, max: 40, step: 1 }}
    /* {
          type: Switch,
          option: {
            label: '数据为空时是否展示',
            name: 'isEmptyShow',
            value: false,
            activetext: '是',
            inactivetext: '否'
          }
        }*/
  ]
}
